﻿using SqlSugar;

namespace MediaBusiness.Dto
{
    /// <summary>
    /// 演艺人员表
    /// </summary>
    [SugarTable("actor")]
    public class ActorDto
    {
        /// <summary>
        /// 序号
        /// </summary>
        //[SugarColumn(ColumnName ="id", IsPrimaryKey = true, IsIdentity = true)]
        [SugarColumn(ColumnName = "id")]
        public string Id { get; set; }
        /// <summary>
        /// 艺人名称
        /// </summary>
        [SugarColumn(ColumnName = "actorName",Length = 60)]
        public string ActorName { get; set; }
        /// <summary>
        /// 性别
        /// </summary>
        [SugarColumn(ColumnName = "sex", IsNullable = true)]
        public string sex { get; set; }
        /// <summary>
        /// 地区
        /// </summary>
        [SugarColumn(ColumnName = "area")]
        public string area { get; set; }
    }
}
